package com.byzk.p2p.admin.admin.dao;

import java.util.List;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestParam;

import com.byzk.p2p.admin.admin.dto.SysUser;
import com.byzk.p2p.admin.admin.vo.AdminUserVo;

public interface AdminDao {
	public SysUser getByName(@RequestParam("username") String username);
	
	public AdminUserVo getVoByName(@RequestParam("username") String username);

	public Integer count(Map<String,Object> queryMap);

	public List<AdminUserVo> list(Map<String,Object> queryMap);

	public Integer insert(SysUser sysUser);

	public Integer update(SysUser sysUser);

	public SysUser getAdminUserById(Integer id);

	public SysUser getByPassword(String password);

}
